<html>
<head>
    <title></title>
</head>
<body>

<div>
    <!-- 查询条件 -->
    <div class="row">
        <div class="col-sm-12">
            <div class="form-inline">
                <div class="form-group">
                    <label class="control-label">桥梁名称：</label>
                    <input placeholder="桥梁名称" id="qlmcSearch" class="form-control">
                </div>

                &nbsp;&nbsp;&nbsp;&nbsp;

                <div class="form-group">
                    <label class="control-label">所属航道：</label>
                    <select placeholder="所属航道" id="hdpkSearch" class="form-control"></select>
                </div>

            </div>
            <br>
        </div>
    </div>

    <!-- 工具栏 -->
    <div class="row">
        <div class="col-sm-12">
            <div class="pull-left">
                <button class="btn btn-sm btn-primary" id="addBtn">
                    <i class="fa fa-plus"></i> 添加
                </button>
                <button class="btn btn-sm btn-success" id="modifyBtn">
                    <i class="fa fa-file-text-o"></i> 修改
                </button>
                <button class="btn btn-sm btn-danger" id="delBtn">
                    <i class="fa fa-trash-o"></i> 删除
                </button>
            </div>
            <div class="pull-right">
                <button class="btn btn-sm btn-info" id="searchBtn">
                    <i class="fa fa-search"></i> 搜索
                </button>
            </div>
        </div>
    </div>

    <div class="row" style="margin-top: 10px;">
        <div class="col-sm-12">
            <div>
                <table id="btTable" class="table table-condensed table-hover table-striped"></table>
            </div>
        </div>
    </div>


    <div id="modal">
        <form class="form-horizontal">
                        <input type="hidden" id="id"/>
                <div class="form-group">
                    <div class="col-md-2 text-right">
                        <span><span style="color: red;">* </span>桥梁名称</span>
                    </div>
                    <div class="col-md-10">
                        <input class="form-control" id="qlmc" name="qlmc">
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-md-2 text-right">
                        <span><span style="color: red;">* </span>桥梁编码</span>
                    </div>
                    <div class="col-md-10">
                        <input class="form-control" id="qlbm" name="qlbm">
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-md-2 text-right">
                        <span><span style="color: red;">* </span>管理单位</span>
                    </div>
                    <div class="col-md-10">
                        <input class="form-control" id="gljgid" name="gljgid">
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-md-2 text-right">
                        <span><span style="color: red;">* </span>所属航道</span>
                    </div>
                    <div class="col-md-10">
                        <select class="form-control" id="hdpk" name="hdpk"></select>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-2 text-right">
                        <span><span style="color: red;">* </span>所属航段</span>
                    </div>
                    <div class="col-md-10">
                        <select class="form-control" id="htpk" name="htpk"></select>
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-md-2 text-right">
                        <span><span style="color: red;">* </span>里程桩</span>
                    </div>
                    <div class="col-md-10">
                        <div class="input-group">
                            <input type="text" class="form-control" id="lczk" name="lczk">
                            <span class="input-group-addon">K</span>
                            <input type="text" class="form-control" id="lczm" name="lczm">
                            <span class="input-group-addon">M</span>

                            <input type = "hidden" class="form-control" id="lcz" name="lcz">
                        </div>

                    </div>
                </div>

                <div class="form-group">
                    <div class="col-md-2 text-right">
                        <span>经度</span>
                    </div>
                    <div class="col-md-10">
                        <input class="form-control" id="jd" name="jd">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-2 text-right">
                        <span>纬度</span>
                    </div>
                    <div class="col-md-10">
                        <input class="form-control" id="wd" name="wd">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-2 text-right">
                        <span>位置</span>
                    </div>
                    <div class="col-md-10">
                        <input class="form-control" id="wz" name="wz">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-2 text-right">
                        <span>备注</span>
                    </div>
                    <div class="col-md-10">
                        <input class="form-control" id="bz" name="bz">
                    </div>
                </div>

        </form>
    </div>


</div>

<ex-section id="ScriptBody">
    <script type="text/javascript" src="${request.contextPath}/js/main/modules/basic/qlList.js?v=1.0.1"></script>
    <script type="text/javascript">
        pageLogic.initData = {
            modalParams: [
                {
                    width: 800,
                    height: 650,
                    title: "桥梁"
                }
            ],
            restUrlPrefix: "/basic/qls",
            queryMsg: {
                qlmc: "qlmcSearch",
                hdpk: "hdpkSearch"
            }
        };

    </script>
</ex-section>
</body>
</html>
